#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2018-12-04 15:57
# @Author  : 少爷

for x in range(1, 10):
    print
    for y in range(1, x + 1):
        print "%d*%d=%d" % (x, y, x*y),
